Fixing test code to work with Clang.