Fix issue with STL forward declarations and libc++