Patch mlib