fix MX to build with plib

Fix MX builds when using plib