main/gradm: build fix for arm