Added automake as dependency for compiling on Mac