JOEL4: use the LDFLAGS variable

The $(LDFLAGS) variable was not being used when $(LD) was called. This caused
an issue when building on a platform that was not 32-bit x86.

Signed-off-by: Joel Nider <joel@nider.org>
bug-fix: 22