ocp-build: fix install and uninstall rules to be idempotent