Replaced bad GetTicksCount64 emulation with better one.