use different approach to fixing /dev/shm issue

based on on reading details in travis-core/issues/187