Added OSX support to spark recipe