Ubuntu fixes for server build

This fixes the issues with building the server portion for aciddb; fixes created by vmrob.