Fix dependency order issue in get_version