I have PBPX 3.0.7.1 and is compiles OK - an obvious mistake is to select 16F877 when you mean 16F887. Maybe the syntax is different in 2.6? Anyone with 2.6?

Among the more common things that got wrong (does not apply to your immediate problem) clock not running, incorrect setting of fuses and not turning off comparators. Suggest you have a look at anything by Darrel Taylor and in particular his ALLDIGITAL and FUSE CONFIGURATION programs.

George