fixes for installing and booting on Windows