fix OSX build issues
Merge branch 'master' of https://github.com/amphibia/fantomcoin