Support Qt/win32 cross compilation.

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>