Hi,
I'm not sure this is the case but I think it might be an MPASM include file issue.
It looks like CCPTMRS and CCPTMRS0 registers are one and the same (they are defined that way (at 0x029E) in my version (5.47) of the MPASM .inc file) so it's possible that your version of the .inc file is missing the CCPTMRS0 regsiter definition.

So, try using CCPTMRS instead of CCPTMRS0 or you can try adding...
Code:
ASM
CCPTMRS0         EQU  H'029E'
ENDASM
...at the very beginning of your code.

/Henrik.