Refactoring build directories.