Buildfix for Linux/Mac at least.

Qt still not happy, I think.