On Software Modernisation due to Library Obsolescence