BUG: Correcting dynamic libraries issue at run-time on MacOS

http://www.nitrc.org/plugins/scmsvn/viewcvs.php?view=rev&root=dtiprocess&revision=158