Fix Android PRNG bug (fix #77)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>