Fixed Makefile.am to build on Ubuntu