Introduce -V version argument
Remove unused dependency check
src/main.c: Some cleanups