78b2e3 CMake: search for the .so file first

Authored and Committed by Campbell Barton 8 years ago
    CMake: search for the .so file first
    
    The pre-compiled .a file for OSX caused linking error on Linux.