Update automake scripts for aarch64