mariadb: Use absolute install_name on darwin.

CMake seems to change the install_name in shared libs to a relative path
which causes programs linked to these shared libs to fail at runtime
unless using DYLD_LIBRARY_PATH.

See http://answers.opencv.org/question/4134/cmake-install_name_tool-absolute-path-for-library/