Enable clang's scan_build (fixes #1)

This is wholly untested of course, but it should work :-)