fix install conditionals