Fix building on FreeBSD and install server.pub file to correct
location
Merge pull request #337 from kmoore134/master

Fix building on FreeBSD and install server.pub file to correct