made windows build work with changes to ghost module