Fix issue #3 check multithreading support