Fixing up script to grab so's on OS X/Linux.