Fix compilation without fpermissive