Add support of MinGW in some scripts.
(and support spaces in some path)