Sometimes such issues can be fixed by proactively abstracting operating system functionality into a separate program module or library