allow to build for both node and nw