Implement MPLCONFIGDIR windows issue workaround at a centralized place.