[BT-Frwk] Fixed build warnings.