Add support for cross compiling for the x64-mingw32 platform.

This moves all MiniPortile recipes into extconf.rb.