Fixed system tests on Linux
Fixed system tests, works on Ubuntu and Native windows
Fixed small bug with the random number generator
Added support for spaces in path and batch switches for the native windows build