improvements to handle chroot builds more easily
add chroot environment for performing MinGW-w64 builds

This is required as the MinGW-w64 environment for Ubuntu 14.10 is
broken. Rather than trying to fix it, it makes sense to use a known
good environment (i.e. Ubuntu 14.04) for performing the builds.
WIP: attempt to get compilation working under MinGW-w64