BLD: Fix build issue on some versions of easy_install.
Merge pull request #1075 from jseabold/fix-matplotlib-sandbox

BLD: Fix build issue on some versions of easy_install.