Fix some compilation issues of libc++ on Windows