Fixes #242
add tests for #242
default to not using flex/bison