Fix compiler problems

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>