Upgrade libetpan, with some consequent build system changes.