Adds the selection bar extension on Windows and Linux.

This is a fix for #9203.
NIT: Don't indent this anymore than you need to :)