Changed CMakeFile; now it is easy tu build static library