fix for brew, osx only