removed -Werror from automake 

since it causes problem with new automake on ubuntu 14.04