added install dir and small windows fixes