Fixes for automake 1.14 and local gmock.