Bluetooth: fix build errors