Fix for compilation under Win/MinGW
Made compatible with VisualStudio
Merge pull request #3 from pbosetti/master

Can Build with VisualStudio