Refs #7363. Removing debugging and adding build type variable.