Added cmake support.