Check that we have statfs before using it.