Add cmake option WIN_DEBUG to disable compiler flag -mwindows to allow debug messages to show