Fixed random seed bound to work with Windows (fixes #181)