allow the library to be used in C++ applications.

I don't know if I could have done this external to modifying libscrypt.h
Merge pull request #26 from jayesbee/master

allow the library to be used in C++ applications.