Resolve redefined definitions when using mingw gcc from OL7

Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com>