Fix build on windows

And that is a separate issue we can clean out more mcon related stuffz in other ticket.