merged core of cutil into oo-cmake