Fix compilation on c++03

Change-Id: I34833898bd26dd7113fbfb42cd486e43926eac59
Reviewed-by: Mikko Levonmaa <mikko.levonmaa@lge.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>