Example of how to wrap a static C library with Ruby