MinGW corrections on the windows compiler, some adjustments on windows interface.