remove trailing slash added by --prefix
Merge pull request #565 from avalanche123/fix-excludes

remove trailing slash added by --prefix