fixed TTSE on Mac OS, shared libraries are tested on OSX as well.