Fixed build bug on windows.