Fixed internal compile/link errors when all features are turned off

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