test/multiarray/CMakeLists.txt: On Mac, use -stdlib=libc++

This adds `-stdlib=libc++` to the compiler flags when building on Mac.  (It should not be used on Linux, since those systems typically use the GNU implementation of the std c++ library implementation, a.k.a. libstdc++, not libc++)