OS X: Fix mpidistutils.config.check_library() to ignore undef symbols