I wasted an hour trying to diagnose why Embree would not use libcxx. It turns out Embree's build script misbehaves by default.