Remove old apm shim on upgrade