Small MGCB Fixes

Two small MGCB fixes:

 - Errors now go to stderr.
 - Added missing #if WINDOWS.