fix clock_gettime detection

fixes compilation with mingw64 gcc-4.9.1