now compiling and running on OSX. old makefile.osx from bitcoin is still around in case we need to merge back some stuff.