The MCLR pin needs to be pulled high or shut off.
If you shut it off it can be used as an INPUT.

Add this to your configuration to turn it off
Code:
_MCLRE_OFF
And this is a helpful thread
http://www.picbasic.co.uk/forum/showthread.php?t=543