Add "-Wl,--no-as-needed" to LDFLAGS...

Otherwise platforms that use "--as-needed" by default try to outsmart the
link command by not linking to libyaml at all.