updates to correct warnings with Makefile.am

These updates remove warnings about deprecated INCLUDES in Makefile.am and replaces them with AM_CPPFLAGS.

Removes warnings about "deprecated feature: target 'XYZ.jar' overrides 'XTZ.jar$(EXEEXT)'
in Makefile.am. Changes the target to read 'XYZ.jar$(EXEEXT)'.