Fix build with automake > 1.11.4