Fix CMakeLists.txt and add values to cryptonote_config.h