removed unused pthread library from linker