only run osx init script if on darwin