[cleanup] Fixed compilation warnings