Fixed plugin compile warnings