Added support for -v (verbose, print compilation output).
Now using getopts for argument parsing.