added optimization to makefile