fix build on darwin with osxfuse
fix linux build