weird behaviour with enviroment variables and npm link