Fix a bug using sha256crypt on OSX CPU.

Please test, since i can't do almost nothing here.