Use the older, messier file-loading code -- might work better with Mingw.