- fix exported symbols clashes with glibc and other libs, rel 2

Restore configure check for strncasecmp and strcasecmp and make
timeval_subtract() and timeval_add() static to avoid exporting them
in libslp. strncasecmp visibility causes a nasty and mysterious
crash of slapd from openldap package.