Fixed cmakefiles.