Added OSX support for SSR