WIN32: Bit hacky fix for reboot crash.