Fixed references with gui2 shared library