chore: support cmake out-of-source build
feat(install): support cmake install

And export the library target.
chore: wait longer for test server on travis