Build STP shared library using CMake.

Also use {ARCHIVE,RUNTIME}_OUTPUT_DIRECTORY properties to relocate build products rather than a custom target.
Merge pull request #39 from khooyp/stp-library

Build STP shared library using CMake.