fix Makefile.am
fix stack trace in exception serializer methods