update to cmakelist.txt for compatibility