Fixed lexer for latest Haskell Platform
Fixed problem with rebuilding on windows. test-grammar would not rebuild everything only if something is changed. Please refer to issue #19