This is intended mainly for GNU/Linux distros who will remove GTK2 support in the near future.
This is not complete, because the symol names are identical, and there's no way (yet) to ensure which versions Ardour will use if both are dynamically loaded.