Added qo building support.
Updated qo build to use LIBS instead of LDFLAGS.