wrap launchctl stuff in mac checks