Changes for testing presence of ltdl.h and lt_dlopen(), libtool functions