If you are using MPASM for the assembler, defines need to be all uppercase.

Code:
    define CCP1_REG PORTB
    DEFINE CCP1_bit 0