Fixed use of find ... -printf "%f" on Mac OS by replacing it with -exec basename

Fixes issue #1028
1 file changed