fixes issue 1040
fixes issue 1040

Force-set the user-specific CMAKE_BUILD_TYPE in the cache to override
Ninja's annoying set to Debug if unspecified.

git-svn-id: ed337ca7cdb08c0ba29d8fe58632bb7686892c2d@1804 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6

rnk/dynamorio,rnk/dynamorio,rnk/dynamorio,rnk/dynamorio,rnk/dynamorio