Add /dev/shm workaround again

Just a test branch so that I don't clutter master with this ...