checking for prng support, fixes #17