Modify autotest compilation variable and remove useless 'cli'