Compile fix with gcc 4.7.2

Looks like a compiler bug, but it's a supported environment.

Change-Id: I73d67a74e1adbac6747cbc96e3fbd96eeee9556c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>