Update automake scripts for arm 64