Add support for LDFLAGS of the generated library.