Cleaning the cmake file a little bit and adding install options for people who want to install the library to their system.