Don't use ale's implementation details.

Change-Id: Ic23a635c093df1ae7cd0c8bb51106f651303479a
Reviewed-on: http://review.couchbase.org/37527
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>