Clang 3.2 has a broken std::shared_ptr implementation when using libstdc++. This is a temporary fix until Clang3.3 becomes common.