Fix build on Windows