edit CMakeLists.txt

you can build the shared lib for cmake