Quick fix to support the latest automake (>=1.12.x)