Add nodejs compatibility flags