Fix kinfu build

Similar to 085c934