Avoid compilation warnings in Antelope.

This PR removes some compilation warnings for Antelope's LVM module and the NetDB server example.