added build shared libs during CMake
Merge pull request #9 from Tectract/develop

added build shared libs during CMake