Protect path lookup in JVM finder
Consider Cygwin as a Windows Platform