Use LDFLAGS for linking

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