ensure we can link at pure c
get the python bindings working
protect against null pointers