Added LDAP_OPT_NETWORK_TIMEOUT for openLDAP

ruby1.8 compatibility requires implicit declaration of rb_time_interval