Fix the bug about gcc-4.6

When the application is complied with gcc-4.6, due to the presence of PLT table, the counter of multithread is not correct.
Now, it is OK.