[FIX] Yara: fixed random aborts

Aborts in Yara were caused by the Thread class. I wasn't able to spot the exact problem. I switched to the simpler C++11 std::thread and the problem disappeared.