Workaround for old automake versions