Fixed clang compilation error and warning. Now compiles on OSX but SWIG segfaults
Fix (Darwin) OS detection via uname