Fix linker error with Qt 5 on Windows.