fixed a syntax error in non-windows timer