Fixes for cross-compiling using winpatch