How Moving Legacy Applications to a Modern Operating System Extends their Useful Life