fix ltdl detection once again refs #3021
Get rid of the 'rm -r' stuff in autogen.sh