remove extra flags in makefile