[BSP] fix compiling error for beaglebone board