Exporting some variables for building mingw packages.