newcpu: compilation fixes and warning reductions
Merge pull request #19 from FrodeSolheim/newcpu

newcpu: compilation fixes and warning reductions