Change everything to a .a lib and build system to cmake.