Add LDFLAGS support for makefile