clean up non-cython warnings on clang

A first stab at solving issue #221.