Workaround to support cross compiling to Android on OS X