Fix rpi compilation issues

This fixes two syntax errors that would prevent the latest develop to compile on RPi