Update base build to support matplotlib