Forgot to include the MPLOTEXPORT macro.