Fix detection of tmpfs support