fix for architecture independent builds (arch "all")