Yes and No, you haven't told us which osc speed you're using

Problem lie more on PORTB.1 and it's multiplexed Analog To digital converter. You want to disable it before using it as digital i/o

Here's some link for you, keep them handy somewhere.

PortA Doesn't Work
http://www.picbasic.co.uk/forum/showthread.php?t=561

All Digital
http://www.picbasic.co.uk/forum/showthread.php?t=11100

Presetting Configuration Fuses (PIC Defines) into your Program
http://www.picbasic.co.uk/forum/showthread.php?t=543