compile on mac and windows
Merge pull request #3 from da2ce7/master

compile on mac and windows, modeled upon opentxs-server