Add patch to wrap inlined functions in libraries/unix