set environment variable in before_install