Minor change to support MSVC 2010 compile.

MSVC 2010 does not have the <unistd.h> header file so 
we must tell flex to exclude it. Excluding <unistd.h> on other 
platforms is benign.
fixed compatibility issue with msvc, merge changes from wamckee( William McKee )