fix beaglebone detection