opt timeoutqueue to build correct on g++ 4.4