fix for ndk mojo to work on macosx