add setenv to DYLD_LIBRARY_PATH for OSX