Fix tests build.