doesn't rake compiler drop off the compiled library into lib_dir so that you don't need this complexity here?

you can also use ::FFI.map_library_name instead of the glob i think...

e.g.

https://github.com/lamont-granquist/ffi-yajl/blob/master/lib/ffi_yajl/ffi.rb#L8-L16

but without the conditional, since we always build the dep_gecode shim...