Avoid unnecessary linkage with per-port env