Some fixes to get windows installer and standalone engine building