fix complier error on Windows