libc++ doesn't pull in some of the headers implicitly included by libstdc++, causing compilation to fail. This adds the required explicit #include statements.
#include