Clone from chaubold’s fork of buildem. Set stdlibc++ as standard library for OSX builds with clang.