Fixed build error on Windows