updates to fix compilation problems on freebsd 10
Merge branch 'master-0.8' of https://github.com/vertcoin/vertcoin into master-0.8