fix detecting ssl certs dir writable on osx