Strip command line output in correctness check

Fixes issue with error checking on Windows (closes #10).