fix cpuminer
add extra options for cgminer