Alexandre Julliard : tools: Improve error handling in the buildicon script.