Modify makefile to fix benchmark compile errors.