Fixes UI build issues on Linux.