adopted to g++ 4.6

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>