fix compile warnings

adapt with tengine compile system which treats warnings as errors.