Export the variables in the makefile.

These exports only work with Gnu make, however, they are necessary to create a usable setting file.  We have to use gmake on FreeBSD.