Remove useless linker libraries