Fixing test compilation with dev flags on clang