Debian wheezy compatibility

Signed-off-by: Hyacinthe Cartiaux <hyacinthe.cartiaux@uni.lu>