fix MX to build with plib
Merge pull request #472 from KeithV/master

fix MX to build with plib