Added cmake config support.