Update config.h for clang and update ref for slim (which needed the same change)