added cmake build support