Link libresolv statically on RHEL5 due to missing exports (Closes #40)