Use APR for env vars