Fix build failure on Windows platforms.