Small cmake fixes for Win+Qt5.