Fixed compilation under windows.