Auto detect if GNU or BSD utilities.
Fixe for non-standard configurations, where 'find' is not in /usr/bin.