Fixed MSVC build

 - clock_gettime() between #ifdef __GNUC__
 - QueryPerformanceCounter() between #ifdef _WIN32
 - removed "rt" library from MSVC build