Fixed travis build.

Create media directory before build.