Added flags and a conditional to compile this on a Raspberry Pi.