Fix for problem on MinGW platforms where the CC macro maps onto the
non-existent cc compiler rather than gcc
Authored by: andy_rushton 2016-02-10
Parent: [r97]
Child: [r99]