Fixed Makefile.am files for Python and Pyre removal