Modified to check OS X version to prevent installation of dependent libraries when the version is not supported by Jubatus.