edited makefile to do -O2 optimization.