Fix test builds.