fix the tr call on OS X
Merge pull request #10 from JDeuce/master

fix tr on OS X