bug in test
helper for debugging in c
environment for specifiying extra build flags
code to debug ffi call arguments
less casting
rebuild testlib when one of its sources has changed
this turns out to be a bug somewhere in libff + clang land