Fix Android linker issue

The newer autotools toolchain makes use of the LD environment variable,
and it turns out the linker never supported the sysroot parameter.