Fixes issue where mods couldn't install as the directory doesn't exist