Correctly creates swig files.

This is done using a gyp action.