build shared lib and allow to install it
support make test
add travis