Fix ICU build in Qt5 release builds

Change-Id: I7b39aa82c9b4c1ca583e6ac205858132f1c2fd1e
Reviewed-by: Antti Kokko <antti.kokko@digia.com>