use  env variable in compile step