Fixed compilation issue in plugin commons