Fix Windows build.
Fix build for Linux.