fix makefile LDFLAGS configuration