-//Empty defines so it compiles on any platform that's not the BBB
-#define GPIO_Export(pin)
-#define GPIO_Unexport(pin)
+//Horrible hacks to silence gcc when compiling on systems that are not the BBB
+extern bool True_Stub(int arg, ...);
+extern bool ADC_Read_Stub(int *val, ...);
+extern bool GPIO_Read_Stub(bool *val, ...);