Cleanup arguments, add --with-cpumining option