support building without git