fix export of node module on windows