Merge pull request #669 from reaperhulk/0.2.1

osrandom add engine fix backported from master