Add support for building on macOS

12 jobs for satmandu-master-patch-29371 in 1 minute and 27 seconds (queued for 2 seconds)