Adds the selection bar extension on Windows and Linux.

This is a fix for #9203.
is there any reason to store this?  can't we just use what's in `global`?