use lower cases for cmake commands
remove extra argument
cleanup and update dependencies