Fixed clang compilation error and warning. Now compiles on OSX but SWIG segfaults