Fixes for MXE cross-compile

Here are a few minor changes that allow FontForge to successfully cross-compile for Windows on Linux using MXE.