Changed additional statements with ifs for bfgminer/cgminer differences.