alpine: fix build on Archlinux

alpine adds a wrong path during configure (-L/usr/lib)
this leads to build fail on Archlinux
...
checking for setupterm in -lncurses... no
...
"configure: error: Terminfo/termcap not found"

since Debian uses a different path for "host libs" it fails to load wrong libs
and finds the right ncurses lib in the next (correct) path

The wrong path is injected by the SSL test
thx jow for finding it

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39423 3c298f89-4303-0410-b956-a3cf2f4a3e73