Manually patched all the library files.