updated cmake build