Fix build error on Windows