fix compile bug for ARM