Fixed couple of compile warnings.