fix minor build issues for git repo