Better checks for libc++
stash
Tweak build rules for precompiled web assets