Fix  so it compiles with opennms HEAD SNAPSHOT