Update cgminer to 3.5.0 and add head