fix automake and remove useless files, update build.sh

- use foreign AM_INIT_AUTOMAKE to skip COPYING file (which is LICENCE.txt)
  http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html

- use subdir-objects option to fix automake on ubuntu 14.04