chore(warnings): fix compile warnings with latest dependencies (#3586)