[libmlocale] Fix configure for Qt 5 builds.