fixed issue when running on windows

There might be a better way to do this, but it works for me
fixes #13