tweak cmake build system