Fix for creating directories should help Travis build