Changed CMakeFile; add -fPIC flag to build in any LIBRARY_TYPE