This seems like a good way to do this on MinGW. Could you add a comment about this explaining what this include is for?