shared library tests for linux
compile object files first to avoid out-of-memory error
Merge pull request #1326 from dawgfoto/sharedUT

shared library tests for linux