Link against libldap_r only - Issue #13

When using openldap 2.x link against the thread-safe version of the library.