MSVC-specific function calls wrapped in a MSVC-specific macro instead of a Windows-specific one.
Merge pull request #260 from sippeangelo/issue-260

Microsoft compiler wrongly assumed on Windows platform