fix a makefile with a target defined twice