You need to disassemble the image, replace needed library and then assemble the image... but dont ask me how to do it. :)