Makefile fixes to use LDFLAGS and add gcov recipe