Make cql test work if srcdir != .