Fix compilation on BB10

Change-Id: I1f701aa8d0df85da2cbd31e3ce4b2f3578725ca4
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>