Allow v8 autotest to run without Qt