Initial hacktogether of Swig 1.0.0 support