Fixed runtests.sh to be system agnostic (minus windows)