Don't make ttyname* fail if proc filesystem is not available