Fix creating empty directories during install