Fixed Makefile to detect number of sockets

/proc/cpuinfo contains no infomation about sockets, N_SOCKETS should
be set to 1.