Fix brew discovery