Xark loader implementation for Windows under MinGW