fix compilation with g++ < 4.7

Signed-off-by: Piotr Galiszewski <pgaliszewski@corp.bluecherry.net>