Use env vars in build system