Rename output file, more options to SWIG, fix Release config.