USe LDflags for linking

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>