added support for common crypto hence hopefully OS X