fix vmapexporter building on Mac OS X