Windows build configuration
Added -std=c99 for GCC builds, which was required for mingw/msys builds