compile: change APT_DIR
compile: set env vars