Do it compile fine without the "simple name change"? :-)
Of course it can compile without the change.
You should show us the source code, preferably on Github with a commit so that we can see all of your changes.
I already find out where I had replaced the code wrongly. There was a stupid typo in the file Makefile.am.
So I finally manage to compile mycoin-cli successfully.
Thanks for your comment anyway.