Set WITH_NEXT_FRAMEWORK on Mac.