Edited CMake for SWIG