Only use /dev/shm on linux