A few minor changes before the release. Also adds important updates to cmake build system (@danielecesarini).