Wait up to 30 secs before complaining about missing systray
Fix compile error