modifications for compiling mex on macOS

* only support 64 bit mex
* check whether local compiler exists; if not use system compiler; if that doesn't exist stop processing
* move to minimum macOS 10.9, corresponding to the MATLAB mex min
parent c6beb6c5
Pipeline #2402 passed with stages
in 3 minutes and 19 seconds