changed -licwait to -licqueue