Fixed windows case to prevent bad java_home variable setting