Removed STATIC keyword from add_library in CMakeLists.txt