Dead code removal.

I think this was removed because it doesn't work on some (Windows :question: ) platforms.