Revert "try to move environment variables into release script"

This reverts commit 022125221fc7a3a627929384d55876a52b5cae95.
try to move environment variable setting into compile script