remove unused libs from linker