Update the directories for building and storing.