Fixed compilation failed for GIN projects.