split out exports & path for osx/cygwin