CMake: Support cmake 3.0 PROJECT_VERSION feature.
Merge remote-tracking branch 'upstream/master'
Build library projects with CMake buildsystem.