bisect_piglit: some fixes when mesa build fails