Fixed some compilation issues

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>