Build r339774-b3599

Parameters
 CLEAN
Whether or not to clean the build directory before building.
 BUILD_TYPE
Default CMake build type; one of: Release, Debug, et al.