[FIX] fixed tr1 and c++11 detection