Fixes problem with travis-ci environment

OSError exceptions were being raised because of the way travis-ci works.
It's described in: https://github.com/travis-ci/travis-cookbooks/issues/155
Making the correct link to /dev/shm solves the problem.