Stab at patching lib build.