A few hooks for easier library handling when CFFI is used