[skip ci] tweak script to detect sanitizers