Modified to cross compile for beagle