Updated compatibility with latest libemergent.