fixes RPATH for dynamically linked shared library so files on osx
decodes stdout for py3k compatibility
inspects MACH header to identify dylibs
Merge pull request #167 from ddale/osx_so_rpath_fix

fixes RPATH for dynamically linked shared library so files on osx