Re #8882. Set DYLD_LIBRARY_PATH on the Mac.

This enables mantid to be imported into python.