fix NetAddr-IP compile issue