Fixing syntax errors.

https://github.com/Homebrew/homebrew/pull/27479/files#r10539249