build unlock tool and link against git descriptor