Fixed compilation errors when using GCC on Cygwin.
Merge pull request #1 from mklamra/master

Compilation errors when using GCC on Cygwin