group build sections by OS