setup cmake build all libraries