Correct dd6966d8 and add a build directory option to the install script.