Fix Makefile so it creates output directories, fix warning in vconfig.c