default parameters when <thread> is presented
remove thread support for gcc4.7