Fix Bluetooth compile errors