Follow the OpenBSD port's lead and protect the resolve