fix find warning and use tr instead of basename
Merge pull request #1129 from wilmoore/attempt-to-fix-ci-warnings

fix find warnings and use tr instead of basename