Fix algorithm test of transform-if not passing with clang and libc++