Fix for g++ on Windows.