Fix test compilation.