settings: avoid using StartupItemContext in newer versions of Darwin

Apple decided to remove this script in the newer versions of OSX.