Fix to can be compiled with cpuming on OS X

On OS X, cgminer can't be compiled when enable with cpu mining option. This commit is a fix to able cgminer can be compiled with cpu mining enable.