Fix build script for ARM.