Fixed issue where DYLD_LIBRARY_PATH was not being set correctly