Removed LDFLAGS from cc command line

Putting LDFLAGS in the compiler line is unnecessary, it will get picked up via the environment. It is also not accepted by the clang C compiler.