Adds TMP variable for use by NPM

@mastrolinux Could you verify that this will be seen by npm? Or should I use export?

Also see Also see this: https://github.com/npm/npm/issues/2936