Fixes for compiling on ARMv6 (Raspberry Pi).