I found the solution. I was looking up the wrong project configuration. Setting to subsystem:console works just fine.