fix cmake parameters segment getter for CMake 3.0
Merge branch 'master' of github.com:zaufi/smart-prompt