Make the ARM stuff build on clang so we can later get the unit test to
work there. also fixes the build.