Updated CMaker scripts for separate executable and library handling.