Tweak logic in config for clang