cpuboard.cpp: compilation fixes