Fix UMD when build using r.js + almondjs

It was considering the `ENV` as `NODEJS`