Added some Raspberry Pi preprocessor ifs