His Prime Minister , Count Camillo Cavour , a hard-nosed political realist , won over moderate left-wing support for a program of free-trade capitalism and large-scale public works construction .
The prime minister had a hard time winning over rivals .