added support of handling stdout and stderr, updated libccv, cleaned ccv makefile