Fix compile error in catnip