autogen: Require libtool, make error handling more generic