Fixed update for running without GUI on windows

This will break updates on Linux systems. Will need to make a difference
between running on mono and windows without gui