fix compile error w/ --disable-leakybucket