switch back to LDFLAGS for compatibility with Debian