fixes non-mac build problems

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>