Replace `%option charset_source` by command line option
Fix paths to flex binary and include directory in tests