Remove unused library references