only pass the differing flags if clang is detected

use findstring instead of filter