fixed variantdir for compilers with equals signs #859
fixed loader paths and tarball creation on osx #859