Fix compiler errors in Timer on Windows