WIP up to now to make RAET run on Windows