made it possible to build a non terminal application which has a cmd console (so we can possibly drop the windows console but still build with winmain)