arm: fix build for ARM (finally), there is now a libc build, but I doubt any of it will work yet.