change std::cerr...  with fprintf(stderr,...

More uniform style, some compiler was giving errors
Removed useless print