fix test target on modern ubuntu