Add @apple_old_libdir variable for cleaning up old install data

To fix 22005