Updated CMAKE to always produce debug info.  Fixed demo and io_demo so they do not generate build errors.