Update makefile to enable optimization