BUG: Pass CMAKE_BUILD_TYPE in Superbuild.

Change-Id: I8579eab8b401437b8de2de07e2e5c2791d1df550
Merge "BUG: Pass CMAKE_BUILD_TYPE in Superbuild."