Adding these 2 lines should allow you to drive the pin.

ADCON1=15 'Set all A/D pins digital
CMCON=7 'Turn off comparators