Fix to enable using syntastic plugin with java projects using maven in cygwin

As discussed here: https://github.com/scrooloose/syntastic/issues/630 I am sending pull request.