clean up LDADD and make more readable. remove extra .include's
link progs with extra rpath for dlopened libs instead of usingLD_LIBRARY_PATH
add more complex tests for dlsym. some tests may change after morediscussion.