Fix compile on official tools (nw)