Added automake as dependency when building with homebrew on OS X.