Forked from pooler's cpuminer 2.3.2