Add support for building on macOS

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