Added config for on device compilation
Added script to build directly on the pi