Remove compilation warnings
Fix flex usage. it should be "-ooutput" not "-o output"
Merge pull request #60 from mattn/fix-build

Fix build