build: Allow source to be built (as devel) outside of git.

References #546
Merge pull request #571 from pjf/less_git_depends

build: Allow source to be built (as devel) outside of git.