update submodules; fix Apple clang & libc++ issues.