Handle systems without crypt()
Merge pull request #24 from Hugmeir/master

Handle systems without crypt()