Adapt linux build to the new build structure
Do not proceed if less than 2 files
Fix command bug (quote the args)