use cmake build this library