DLZ modules: Correct #ifdef broken by pthread removal
Commit 2bf7921c has broken building of ldap module. Initial #ifdef PTHREADS were removed without removing also else and endif parts. DLZ modules do not compile anymore.
Finish PTHREADS condition removal.
Edited by Petr Menšík