Fix autotools build system

remove ghost and duplicate from Makefile