Handled compile warnings.
Optimized makefile for 8 cores.