Additional cleaning and minor fixes to yWrite's generic CMakeLists.txt