Fix issue of installing libnetsnmp during making images