remove needless declaration of LDFLAGS.

removing this not breaks build on latest Debian sid.
move patches into ./share to fix the install.sh