fixes for compilation under Windows