Fix compiler warning on Windows