Update CMakeLists to work with GLC. Add swig cmake bindings.