Fixed compilation issue on Windows