fixing cpuint in cpuintrev2, pureleak fixes, makefile changes