mtest: add getRnd() that uses rand() when compiling for windows 64bit