Fixes to the OSX makefile and fixes to ddsinfo when building on OSX.