Fix/optimize ms ticks (C_GetTickCount)