Upgrade gl platform to 1.3.1.