[Bug 870546] The "pkg_config" method in mkmf.rb modifies the $LDFLAGS variable