Remove unused libraries

I've removed the unused library files from the link process.