cmake: add _debug suffix for Mac OS X libraries