Fix compile error in opennms-services.