prepare for osx cross compilation