Add LIBS to linker command line (needed on Solaris)