Adjust to latest ObjFW API changes.