Fix build for Qt4 / Qt5.
Now build default in release mode.