Now that I look at the data sheet I see GPIO.4 is analog.
So add
Code:
ANSEL = 0
Near the beginning of your code. That will make all pins digital.

Other than that I do not see a problem.

How are your configs set and how is it wired?