Homebrew doesn't provide a merged (FHS) prefix and tools installed from it cannot be expected to appear on PATH. Furthermore, XCode provides some tools and headers (Flex, Bison) which must not be used if a Homebrew alternative is installed.