cpu: Fix a shitload of compilation errors.