Fixed plugin compile error.