Fix Windows cross-compile on Ubuntu 12.04.