Fix paths to flex binary and include directory in tests

Due to recent change in source files location (new `src` directory), tests stopped working. I am aware that tests are currently in rewrite in `tests` branch, but this commit fixes the mainline until rewritten infrastructure is ready.