Preparing for migration to MinGW