Updated version functions to handle missing VCS info/executable.