Fixed sources to compil with MinGW32