work fork of xiph.org libskeleton with fixes