[win32] Prevent crash on startup

Prevent crash with new settings system.
This is not a fix for settings, but fix for other classes.