Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.