Fix segmentation fault in pbkdf2 by switching to M2Crypto

Addresses issue #9.