Use MACOSX from detect