Fix Windows build and install