Fixed simpleCPU example to run on OS X