Use -fsanitize=undefined when running tests with clang