Use $CYLC_DIR and check perl version for prove.