Cmake branch updated to compile on my linux debian install

Updated CMakeLists and lib for linux platform