Fixes #750 Call to undefined function com::GetRandom()

Fixes #750
Adds mcrypt as alternative source of randomness