One is compiling for a 12F, the other for a 16F. There is no PORTB in a 12F683, hence the issue.