remove cout in nonce.c; modify Makefile.am