Revert "libltdl wants AM_MAINTAINER_MODE"

This reverts commit 4c6493e74798ee4836efecc234dded703763adf9.
Revert "move libltdl to 3rdparty/"

This reverts commit 6a9c636fb9573d3eb4232e2f970d077ff373d11b.