Fix compilation under windows