feat(install): support cmake install

And export the library target.