Upgrade gpgs to v1.1 and remove gpgs library.