fix non netty builds