tray_theme_other.go references Tray but its build tag selected it on FreeBSD, where tray.go (which defines Tray) is excluded via !freebsd. Add the same !android && !ios && !freebsd && !js exclusions to the stub.