fix lwm2mserver compilation issue following commit f70674d6a3