Add BuildDir(), Export(), and Install() functionality (courtesy Charles Crain).