fixed -lpthread in configure.ac issue on ubuntu 13.04