fix elastic search for windows