fix builds of SWIG wrappers
Fixes #39
Fixes: #41
cleanups from Fedora review
Fixes #38
Fixes #43