Fixed random seed bound to work with Windows

Fixes #181