libpanel depends on libcurses, so when linking static libraries, libpanel
should be places prior to libcurses.
This patch resolves error like:
.../x86_64-centos6-linux-gnu/bin/ld: .../lib/libpanelw.a(p_show.o): in function `show_panel': p_show.c:(.text+0x39): undefined reference to `_nc_panelhook_sp' .../x86_64-centos6-linux-gnu/bin/ld: .../lib/libpanelw.a(p_show.o): in function `update_panels_sp': p_update.c:(.text+0x1f): undefined reference to `_nc_panelhook_sp' collect2: error: ld returned 1 exit status