Fix non working code in random() method.
Merge pull request #38 from QTSdev/master

Fix non working code in RandomLib::random() method.