fixed to correctly use NDK on mac