Added -lpthread to localize linker to fix build error