Refactoring build system.