Follow the same steps above just copy the sublime build file corresponding to OS X. You need to have gcc and gtimout installed to be able to run above build system.
To install gcc in OS X :
brew install gcc
To install gtimout in OS X :
brew install coreutils