Remove double defines in makefile