[COOK-4146] fix compile dependencies for git::source