I think this should be portb.5

Code:
Define LCD_DREG  PORTB
Define LCD_DBIT  4
Define LCD_RSREG PORTB
Define LCD_RSBIT 4
Define LCD_EREG  PORTB
Define LCD_EBIT  4
And if you are using a 4 or 8 mhz crystal, then you probably are not running at 48mhz.