Creates correct subdirectories for build objects.