Compile fix from qmc2 author (nw)