libesmtp: misc tweaks; prepare for autobuild.