fixing makefile.am on resources