Fixes when building without BUILD_LIBCXX=1