Fixed undefined functions and recompiled with latest caterwaul