Fix Cmake so generated SOname matches autoconf's #.

--HG--
extra : rebase_source : 8aed06833632e488a600940bb54b212e69e5f1ec
extra : amend_source : e7f4179f3048af5092933c7bc2bbe77b7304daa0
Fixed DualShock 4 controller config on Mac OS X.

--HG--
extra : rebase_source : 5e02300952b47b8252d4bb0474ad6d9f10ae8a14