Workaround for missing C99 functions in older versions of Visual Studio
Merge pull request #46 from chuckatkins/fix-for-old-msvc

Workaround for missing C99 functions in older versions of Visual Studio