Compile fix from qmc2 (nw)