Update makefile for optim target.