Create mount directory only on linux, use lstat, adjust /dev/shm checks
Create mount directory only on linux, use lstat, adjust /dev/shm checks

Signed-off-by: Jeremiah Bonney <5d455f630e7d944da033c6759bae9e2cc0a9d633@bloomberg.net>

bloomberg/userchroot,bloomberg/userchroot