Update 20 Jun from official sgminer v5.0

Update 20 june