Add lex.l output compilation

also moved from strdup() to _strdup() and reduced Visual C++ warning
level to /W3