Portability fixes for OpenBSD. Patch by Aaron Suen.
Show icon only for panel toolbar on all platforms