fix for nginx on osx