Added support for rhel (mktemp) for resolvevars