fixed cmake file patch