build: Add EXTRALIBS to TOOLS linker command