fix BT build error