more elegant setup of env vars for cross-compilation