fixing compilation issues without rpi headers