move check for bison to generic location and make sure rbx uses it too, closes #1631