respect the environment variable $LDFLAGS