Implement workaround for distutils bug

Resolves #80
Merge pull request #81 from z2v/bug/80-swig

Implement workaround for distutils bug