fix brew (#758)