build: delete envvar instead of cleaning them, fixes odd pkg-config behaviors