We actually solved this the difficult way by recompiling every .lib. I could not find a better way around it.