OSX Support patches

This pull request fixes minor build issues on OSX.  Once these changes are made, both Securecoin-Qt and securecoind can be installed via [Homebrew](http://brew.sh):

```
brew tap lokkju/formulae
brew update
brew install securecoin
brew linkapps
```