Fix some compilation issues on Windows
Fix some compilation issues of libc++ on Windows