Fix compile udns shared