[PATCH 07/11] build: use wide version of -lpanel when needed