Fixed Gradle building on Windows

Hi,

I've fixed Gradle building + testing on Windows since it was broken due the newly introduced unit tests runner (it was okay on OSX).