Fixed build error on windows.