swig: support for OS X

remove unnecessary platform specification in swig nix expression.