web: work around build failures on new OS X/xcode 5 related to clang