Make the branch-specific prebuilt setup generic
taken from upstream