Fix for compilation under Win/MinGW