Fix linking on uclibc