'safe_storage' changed to be a console exe on Windows to fix linker error.