Fix for non MSVC compilers.