Unless you find a better workaroud/solution that works on all systems, yes, you should keep it if your proposed change breaks on Mac.