Use cout instead of cerr.
Install headers files.