Check NODE_ENV for build target