cmake: add options for building gui

Closes #34190.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
chuck: fix regex for 10.10
chuck: add 1.3.4.0 bottle.