CBD-774: Add support for automake 1.13

Change-Id: Iba59eec8dcd0d0581f514b9e83a897e5deeb7c61
Reviewed-on: http://review.couchbase.org/23974
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>