speed up build of temporary gcc for arm by disabling optimization
fix segfault while building perl on ARM

closes #67