Add a switch to enable the previous behaviour. If the software is actually maintained than that switch will be added to the build config. If it isn't it shouldn't be used in production going forward. Whoever adds the option to the build process takes responsibility if the bugs it is deprecated to avoid do in fact affect this code.