Add support for cross compiling Windows tools on Darwin.

Change-Id: I71372543e8da02e1d2437d6da7eb46b0a72c9870
Merge branch 'cm-10.1' into martincz