Well, I don't know about the PBC issues, but to get around needing the "bs2defs.bas" file you should give the variables your own names (don't use the generic "b1", etc), and not use numbers for pins:

Instead of "high3" ; make pin 3 high

Write high PORTx.x ; x.x is port letter & pin number EX: PORTA.1