Fix compilation error when compiling natively on BeagleBoard.