Make LDAPCONF test work on windows Rather than using putenv(), use the ENV section. This also required adding {PWD} support for it.