Fix out-of-source build.

SWIG is really picky on where it places the files it generates...