Windows build and compatibility