fixed build error on RPi