Bulk fix compile warnings