fix build error on beaglebone