bug #3295: install net-ldap < 0.9 with ruby 1.8.7

(cherry picked from commit 1355c28734bcab3d67a70df093bf68473d52c78a)