Fix detail_iterator_test.cpp for libc++.