Use C++ compiler throughout on macOS (to avoid C compilers crying about -std=c++14) (reported by Kip Hart)