Update to 3.1.2
Update to 3.1.3
Update to 3.1.4
Update to 3.1.5
fix build errors