installation scripts for swig on mac osx