@jacknagel I'm still having trouble setting LDFLAGS correctly. It is hard to detect which compiler is in use in Cmd#ldflags, and '-stdlib=libc++' can only be used when clang++ is used to link.