fix compiler warnings on raspberrypi-slave