Normalize shared object suffix using FFI