Fix bytecode reader on mingw