ui: fix for commit 5c0685712faadc27db4db7a6a161681324a66d40: Linker error

fixes visual studio linker error