Fix  queue library loading.