fix includes for apple
save commit from nico