fix build regression for arm pre-v7 from out-of-tree build patch