Fix build when a project patch contains spaces

Trac #11553

With improvements so it works in release mode and on Win7 as well.

Original-Author: Jim Hauxwell

git-svn-id: http://angleproject.googlecode.com/svn/trunk@334 736b8ea6-26fd-11df-bfd4-992fa37f6226
3 files changed