Added CMakeList to allow building as static library