Updated qo build to use LIBS instead of LDFLAGS.