build static and shared library, install target, test target