added LDFLAGS and CFLAGS