Build fix for building on OS X 10.8.
Build fix for building on OS X 10.8.

The output of the 'codesign' tool changed slightly in 10.8: the
'designated =>' line now looks exactly as it should as codesign -c
input. Previously, it was prefixed with "# ", which we had to filter
out.

Update the script to work with both 10.7 and 10.8 versions.

vslavik/poedit,PKRoma/poedit,PKRoma/poedit,BenKeyFSI/poedit,egoitzro/poedit,dwaynebailey/poedit,dwaynebailey/poedit,nawawi/poedit,alexhenrie/poedit,nawawi/poedit,egoitzro/poedit,huoxudong125/poedit,c72578/poedit,dwaynebailey/poedit,egoitzro/poedit,c72578/poedit,vslavik/poedit,PKRoma/poedit,BenKeyFSI/poedit,babycaseny/poedit,BenKeyFSI/poedit,PKRoma/poedit,PatidarWeb/poedit,vslavik/poedit,vslavik/poedit,c72578/poedit,c72578/poedit,dwaynebailey/poedit,nawawi/poedit,huoxudong125/poedit,c72578/poedit,alexhenrie/poedit,huoxudong125/poedit,dwaynebailey/poedit,BenKeyFSI/poedit,PatidarWeb/poedit,egoitzro/poedit,PatidarWeb/poedit,PatidarWeb/poedit,huoxudong125/poedit,nawawi/poedit,alexhenrie/poedit,BenKeyFSI/poedit,alexhenrie/poedit,PKRoma/poedit,vslavik/poedit,babycaseny/poedit,babycaseny/poedit,babycaseny/poedit,nawawi/poedit,huoxudong125/poedit,babycaseny/poedit,egoitzro/poedit,PatidarWeb/poedit,alexhenrie/poedit