CBD-774: Add support for automake 1.13

Change-Id: Ib53a7885b31e6840545aea274f590d671d55d469
Reviewed-on: http://review.couchbase.org/23975
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>