fix install rules.