updated CMakeLists.txt to put the binaries in ./bin and the libraries in ./lib