Fix warning on assigning from `const char*` to `char*`
Allow error reporting routines to accept varying number of arguments in modern style
Fix paths to flex binary and include directory in tests