Fix some compilation scripts
Fix compilation issue with QStringBuilder

When compiling against QtCreator >= 2.8.1 (on Gentoo), the following
macros are used: QT_NO_CAST_FROM_ASCII, QT_USE_FAST_OPERATOR_PLUS,
QT_USE_FAST_CONCATENATION, thus string and char literals must be
converted in QLatin1* objects