Resolve collision with unistd.h

On OSX 10.9, newer unistd.h libraries include an encrypt function, 
which this accidentally clobbers. There are still warnings from clang
but the error is now resolved with a rename of the function.