fix for arm build