THRIFT-2716 - removed warnings from some Makefile.ams