octave: allow examples/test suite to be run out of source tree

- facilitates testing SWIG against multiple Octave versions