Improve cmake install script