Fixes Windows initialisation issue